<template>
  <div></div>
</template>
<script lang="ts">
import { Component } from "vue-property-decorator";
import Base from "@/utils/base";

@Component({
  name: "MiddlePage",
  components: {}
})
export default class MiddlePage extends Base {
  private redirect = "";
  private created() {
    this.redirect = decodeURIComponent((this.$route.query.redirect ? this.$route.query.redirect : "") as string);
    if (this.redirect) {
      location.replace(this.redirect);
    }
  }
}
</script>

<style lang="less" scoped></style>
